package com.yhz.openapi.services;

import com.yhz.openapi.common.ResponseResult;
import com.yhz.openapi.common.ResultTable;
import com.yhz.openapi.entity.Menu;

import java.util.List;

public interface RoleServices {
    ResultTable getRolePageWithName(Integer page, Integer limit, String name);

    ResponseResult updateStatus(Integer id, Integer status);

    List<Integer> getRoleMenu(Integer roleId);

    ResponseResult assignMenu(Integer roleId, Integer[] menuIds);
}
